home *** CD-ROM | disk | FTP | other *** search
-
- I will try to explain this the best I can so bear with me
-
- I am trying to copy a memory block of 256 bytes from one address to
- another using the following line of code which is causing my system to
- crash.
-
- Copy Start(SBNK)+Val(SVCE$(SMZ)),Start(SBNK)+Val(SVCE$(SMZ))+256 to
- Start(20)
-
- where SBNK is either 10 or 11 and SMZ ranges from 1 to 128
-
- At one stage when I ran the program where SBNK is 10 and SMZ is 1 I
- got the following values
-
- Copy 1225400,1225656 to Start(20)
-
- The same line of code in direct mode does not crash and works fine but
- when run through my program it crashes.
-
- I went stepped through everything to verify that I was getting valid
- values for both SBNK and SMZ and every time they were valid.
-
- Can anyone see any obvious errors with my code or approach. Any help
- or advice would be appreciated.
-
-
- Declan.
-
-